# 写操作入门
f=open("test-write.txt","w",encoding="utf-8")

f.write("hello world2\nalibaba")

f.flush()

f.close()